package com.firefly.dao.dto.ums;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * @description: 部门状态实体
 * @author: lzg(萤火科技 ： 854378082 @ qq.com)
 * @date: 2022/11/30
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class DepartmentStatusDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @Positive(message = "ID是大于0的整数")
    private Integer id;
    @Range(min=0,max=1,message = "状态必填")
    private Integer status;
}
